//////////////////////////////////////////////////////////////////////////
//	File: CFrostSpray.h
//
//	Author: Steven Seufert
//	Date:	January 13, 2012
//
//	Purpose: To define the Frost Spray class spell 
/////////////////////////////////////////////////////////////////////////

#ifndef	CFROST_SPRAY_H
#define CFROST_SPRAY_H

#include "CSpellBase.h"
#include "Messaging\IListener.h"

class CPlayer;

class CFrostSpray : public CSpellBase, public IListener
{
private:
	int		m_nSoundID;			//cast 
	float	m_fSpeedReduction;	// How much slower does enemy move?
	float	m_fAccruedTime;		// How long since it last did damage?
	float	m_fRate;			// How often does it do damage?
	// images 
	// animations
public:
	// constructor
	CFrostSpray();

	// destructor
	~CFrostSpray();

	void Cast(CPlayer* caster);

	void Update(float fElapsedTime);
	void Render(void);
	bool CheckCollision(IBaseInterface * pBase );

	void HandleEvent(CEvent* pEvent);
};
#endif